package com.hry.springboot.sharding.jdbc.dao;


import com.hry.springboot.sharding.jdbc.entity.SmartDeviceStudent;
import com.hry.springboot.sharding.jdbc.entity.SmartDeviceStudentCourse;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SmartDeviceStudentMapper {

    SmartDeviceStudent getById(long id);

    void insert(SmartDeviceStudentCourse course);

    SmartDeviceStudent getByUserid(Long userId);
}